package com.acme.task2;

public class Foo {
	
	private int calledBy;
	
	public Foo(int objectNumber){
		calledBy = objectNumber;
	}

	@Override
	protected void finalize() throws Throwable {
		super.finalize();
		System.out.println("finalize called now for object "+ this.calledBy);
	}
}
